﻿@{
    ViewBag.Title = "福建省烟草信息化运维管理系统首页";
    Layout = "~/Views/Shared/_LayoutThreeMain.cshtml";
}
@section ScriptAndCss{
    <script src="../../Scripts/cic-main.js" type="text/javascript"></script>
}
@model Wicresoft.UnifyShow.Portal.Models.NavigateModel
<div class="box">
    <div class="main_left">
        <div class="left_menu_Na">
            <div id="menu">
                @if (!string.IsNullOrEmpty(Model.AccessITSMName))
                {                     
                    <p class="VNavLeaf ui-icons"><a target="_blank" href="@Url.Action("SSO", "Account", new { redirectionUrl = "http://itsm.fj-tobacco.com:8080/arsys/" })">@Model.AccessITSMName</a></p>
                }
                @if (!string.IsNullOrEmpty(Model.AccessGJName))
                {   
                    <p><a id="gjMenu">@Model.AccessGJName</a></p>
                    <div class="VNavParentI" id="gjMenuDiv">
                        <ul style="display: none;" id="gjMenuUL">
                            @foreach (Wicresoft.UnifyShow.Business.SiteBranchModel sitebranch in Model.SiteBranch_GJ)
                            {                
                                <li class="VNavLeaf2"><a href="#" onclick="redirectbppm('@sitebranch.GJ_IPPort1');return false;">--@sitebranch.Alias--</a></li>
                            }
                        </ul>
                    </div>
                }
                @if (!string.IsNullOrEmpty(Model.AccessUSName))
                {                    
                    <p><a target="_blank" href="@Url.Action("Index","Home")">@Model.AccessUSName</a></p>
                }
                @if ((bool)ViewBag.IsConfigAdmin)
                { 
                    <p><a href="@Url.Action("Index","AdminPermission")">管理员配置</a></p>
                }
            </div>
        </div>
    </div>
    <div class="main_right">
        <!--<div class="right_title2"><a href="index.html">首页</a> > 业务状态总览 > 资金结算系统 > <span>业务健康度总览</span></div>-->
        <!--**************************************************************************************************************************************************-->
        <div class="index_lr">
            <ul>
                @if (Model.IsLeader)
                {
                    @Html.Partial("~/Views/Navigate/ITSMLeaderPartialView.cshtml", (Wicresoft.UnifyShow.Portal.Models.NavigateITSMModel)ViewData["navigateITSMList"])
                }
                else
                {
                    @Html.Partial("~/Views/Navigate/ITSMPartialView.cshtml", (List<Wicresoft.UnifyShow.Business.IncidentModel>)ViewData["incident"])
                }
            </ul>
        </div>
        <div class="clear">
        </div>
        <!--**************************************************************************************************************************************************-->
        <div class="index_lr">
            <ul>
                @if (Model.IsLeader)
                {
                    @Html.Partial("~/Views/Navigate/GJLeaderPartialView.cshtml", (Wicresoft.UnifyShow.Portal.Models.NavigateAlertModel)ViewData["navigateAlertModel"])
                }
                else
                {
                    @Html.Partial("~/Views/Navigate/GJPartialView.cshtml", (List<Wicresoft.UnifyShow.Business.AlertModel>)ViewData["alert"])
                }
            </ul>
        </div>
        <div class="clear">
        </div>
    </div>
</div>
